package com.example.springbootp6spy.config;

import com.p6spy.engine.spy.appender.StdoutLogger;
import lombok.extern.slf4j.Slf4j;

/**
 * Sql日志打印
 *
 * @author Lv
 * @date 2023/9/2
 */
@Slf4j
public class StdoutLoggerConfig extends StdoutLogger {
    @Override
    public void logText(String text) {
        log.info(text);
    }
}
